﻿@using ParticipacionVecinalWeb.Models
@using System.Collections
<!DOCTYPE html>

<html>
<head>

    <title>@ViewBag.Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">


    <link rel="shortcut icon" href="../favicon.ico" />

    @{ 
        Utils util = new Utils();

        string js = "<script src='" + Url.Content("~/Content/custom/js/jquery-1.11.1.min.js") + "'></script>";
        Response.Write(js);


        string path = util.getPath();
        string headerDialog = "Sistema Municipal Web";

        string iniJs = "<script type='text/javascript'> var path = '" + path + "'; headerDialog ='" + headerDialog + "';</script>";
        Response.Write(iniJs);
          
    }

    <link rel="stylesheet" href="@Url.Content("~/Content/custom/css/bootstrap.min.css")" media="screen">
    <link href="@Url.Content("~/Content/kendo/css/kendo.common.min.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/kendo/css/kendo.dataviz.silver.min.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/kendo/css/kendo.dataviz.min.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/kendo/css/kendo.silver.min.css")" rel="stylesheet" />

    <script src="@Url.Content("~/Content/kendo/js/jquery.min.js")"></script>
    <script src="@Url.Content("~/Content/kendo/js/kendo.all.min.js")"></script>
    <script src="@Url.Content("~/Content/kendo/js/kendo.culture.es-PE.min.js")"></script>
    <script src="@Url.Content("~/Content/kendo/js/kendo.messages.es-ES.min.js")"></script>
    <script src="@Url.Content("~/Content/kendo/js/jszip.min.js")"></script>

    <link href="@Url.Content("~/Content/custom/css/style.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/datepicker/css/datepicker.css")" rel="stylesheet" />
    <script src="@Url.Content("~/Content/datepicker/js/bootstrap-datepicker.js")"></script>

    <script type="text/javascript">
        kendo.culture('es-ES');
    </script>

</head>
<body id="body">

    <div class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <a href="#" class="navbar-brand">Modulo de Participacion Vecinal</a>
                <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <div class="navbar-collapse collapse" id="navbar-main">
                <ul class="nav navbar-nav">
                    @* <li class="dropdown">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Maestros<span class="caret"></span></a>
                        <ul class="dropdown-menu">*@
                    @*   @Html.Raw(MenuResultado.Maestros.Replace("?", Url.Content("~")))*@
                    @* </ul>
                    </li>*@
                    <li class="dropdown">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Procesos<span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="@Url.Action("Requerimiento","JuntaVecinal")" target="_top">Requerimiento</a></li>
                            @* <li><a href="@Url.Action("ConsultaBoletas", "Home")" target="_top">Recepcion de Boletas Firmadas</a></li>
                            <li><a href="@Url.Action("ListadoBoletas", "Home")" target="_top">Consulta de Lotes</a></li>
                            <li class="divider"></li>                             
                            <li><a href="@Url.Action("RevisaBoletas", "Home")" target="_top">Control de Boletas Presentadas</a></li>
                            <li><a href="@Url.Action("ConsultaPaquetes", "Home")" target="_top">Consulta de Paquetes</a></li>
                            <li class="divider"></li> *@

                            @* @Html.Raw(MenuResultado.Procesos.Replace("?", Url.Content("~")))*@

                        </ul>

                    </li>
                    <li class="dropdown">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Reportes<span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            @* <li><a href="@Url.Action("ReporteBoletas", "Home")" target="_top">Reporte de Boletas</a></li>
                            <li class="divider"></li>*@
                            @* @Html.Raw(MenuResultado.Reportes.Replace("?", Url.Content("~")))*@
                        </ul>

                    </li>
                    @*<li class="dropdown">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Ayuda<span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="#" target="_top" id="idImgAyuda">Acerca de..</a></li>
                            <li class="divider"></li>
                        </ul>
                    </li>*@
                    @*<li class="dropdown">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Acerca de..<span class="caret"></span></a>
                        <ul class="dropdown-menu">
                        </ul>
                    </li>*@
                </ul>

                <ul class="nav navbar-nav navbar-right">
                    @*<a href="@Url.Action("Boletas", "Home")" class="navbar-brand">Modulo de Control de Boletas</a>*@

                    <li class="dropdown">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Mi Perfil
                           <div class="col-md-3 col-sm-3 col-xs-2">
                               <img src="@Url.Content("~/Content/img/sinfoto1.png")" class="img-responsive img-circle" id="idFotoMin"/>
                           </div>
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu" style="width: 350px;">
                            <li class="col-md-12 col-sm-12 col-xs-12">
                                <section id="profile2" class="well" style="border: 0px">

                                    <div class="row">
                                        <div class="col-md-5 col-xs-4">
                                            <img src="@Url.Content("~/Content/img/sinfoto1.png")" class="ra-avatar img-responsive img-thumbnail"  id="idFotoTop" />
                                        </div>
                                        <div class="col-md-7 col-sx-8">
                                            <span class="ra-first-name" style="font-size: 10px; font-weight: bold;">Fanny Salinas@*@user.NombreCompleto*@</span>
                                            <div class="ra-position" style="font-size: 10px;">Administrador@*@user.Perfil*@</div>
                                            <div class="ra-position" style="font-size: 12px;">fsalinas@munsais.com.pe@*@user.Correo_Corporativo*@</div>

                                        </div>
                                    </div>
                                </section>
                            </li>

                            <li class="divider"></li>
                            <li><a href="#" id="idDatosPersonales"><span class="glyphicon glyphicon-user"></span>&nbsp Datos Personales</a></li>
                            <li><a href="@Url.Action("LogOut", "Home")"><span class="glyphicon glyphicon-off"></span>&nbsp Cerrar Sesion</a></li>
                            <li class="divider"></li>
                            <li><a href="#" target="_top" id="idImgAyuda"><span class="glyphicon glyphicon-question-sign"></span>&nbsp Acerca de..</a></li>

                        </ul>
                    </li>
                </ul>
                <br />
            </div>
        </div>
    </div>

    @*      <aside class="main-sidebar">
            <!-- sidebar: style can be found in sidebar.less -->
            <section class="sidebar">
                <!-- Sidebar user panel -->
                <div class="user-panel">
                    <div class="pull-left image">
                        <img src="~/Content/img/sinfoto1.png" class="img-circle" alt="User Image" />
                    </div> 
                    <div class="pull-left info">
                        <p>Alexander Pierce</p>

                        <a href="#"><i class="fa fa-circle text-success"></i>Online</a>
                    </div>
                </div>
                <!-- search form -->
                <form action="#" method="get" class="sidebar-form">
                    <div class="input-group">
                        <input type="text" name="q" class="form-control" placeholder="Search..." />
                        <span class="input-group-btn">
                            <button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
                        </span>
                    </div>
                </form>
                <!-- /.search form -->
                <!-- sidebar menu: : style can be found in sidebar.less -->
                <ul class="sidebar-menu">
                    <li class="header">NAVEGACION PRINCIPAL</li>
                    <li class="treeview active">
                        <a href="#">
                            <i class="fa fa-dashboard"></i><span>Catastro</span> <i class="fa fa-angle-left pull-right"></i>
                        </a>
                        <ul class="treeview-menu">
                            <li>
                                <a href="../../solicitudcatastro"><i class="fa fa-circle-o"></i>Registrar Solicitud</a>
                            </li>

                        </ul>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-files-o"></i>
                            <span>Administracion</span>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="#"><i class="fa fa-circle-o"></i>Departamento</a></li>
                            <li><a href="#"><i class="fa fa-circle-o"></i>Provincia</a></li>
                            <li class="active"><a href="#"><i class="fa fa-circle-o"></i>Distrito</a></li>

                        </ul>
                    </li>

                </ul>
            </section>
            <!-- /.sidebar -->
        </aside>
*@


    @* //SECCION BODY // *@

    @RenderSection("Cabecera", required: false)

    <section class="content-wrapper main-content clear-fix">
        <input type="hidden" id="hdCodUser" value="0@*@user.CodUser*@" />
        <input type="hidden" id="hdFoto" value="" />
        <input type="hidden" id="hdPath" value="@Url.Content("~")"/>
        <input type="hidden" id="hdVersion" value="1.0" />
        @RenderBody()
    </section>

    <script src="@Url.Content("~/Content/custom/js/bootstrap.min.js")"></script>
    <script src="@Url.Content("~/Content/custom/js/ie10-viewport-bug-workaround.js")"></script>
    @{
//Html.RenderPartial("Modal/Utils/dlgCargando");
//Html.RenderPartial("Modal/Utils/dlgModal");
//Html.RenderPartial("Modal/Home/dlgModalFoto"); 
    }

    @*<script src="@Url.Content("~/ScriptsModulos/Menus/Menus.js")"></script>*@

</body>
</html>
